<template>
  <div class="loading"><img src="../assets/img/loading.gif" alt=""><span>{{loadingWord}}</span></div>
</template>

<script>
  export default {
    props: {
      loadingWord: {
        type: String
      }
    },
    data() {
      return {};
    }
  }
</script>

<style lang="stylus" scoped>
  .loading
    text-align: center;
    z-index: 99;
    width: 100%;
    height: 1rem;
    line-height: 1rem;
    img
      margin: 0 auto;
      width: 0.65rem;
      height: 0.65rem;
      vertical-align: middle;
    span
      vertical-align: middle;
      margin-left: 0.14rem;
      font-size: 0.4rem
</style>
